package com.ailink.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class Ba {

    @Resource
    private Ab ab;

    private Ab ab1;

    @Autowired
    public void setAb1(Ab ab1) {
        this.ab1 = ab1;
    }
}
